Update QueryBuilder.php

This alternative solution LIMIT, OFFSET problem SQL Server version older than 2012.