Fix issue for MySQL LIMITed updates