Fix UPDATE/INSERT/DELETE statement with no affected rows throwing "Function sequence error" DatabaseError