Fixed doModifyLimitQuery for SQLServerPlatform