Ensuring order used properly with bound query.