Fix bad skip/limit optimization.

We reorder Skip(5)/Limit(10) to Limit(15)/Skip(5), but a bug made it
Limit(15)/Skip(10).
Merge pull request #312 from sellout/ready/limit-skip-coalesce

Fix bad skip/limit optimization.