Model.order(:something).first broken on SQL Server 2000

In one case scenario in the if/else the order was skipped.
Updated the code to always use the order with a limit.

I don't have the possibility to run a proper test suite but our own test suite using SQL Server 2000 pass without any problem.