Fix limit before ordering