Yes, there is the possibility of both being filled at the same time. This could happen if the market order was sent at the same time that the limit order was filled. It's a slim possibility, but could definitly happen.
Another way you could do it, is set-up the Limit Order Good-Till-Time, and...