doModifyLimitQuery() was missing an outer "ORDER BY doctrine_rownum"
fixed test cases