Bugs found on query_delete, fetch_array and query_update methods. Sorry :(