Limit query fix for 2.5
Merge pull request #1747 from mbabker/limitFix25

J! 2.5 - [#31604] Invalid column name 'RowNumber' from articles model with MS SQL Server