[MT2435] Fixed the SQL syntax error in GetLateOrders