Fixed detection of UPDATE queries in multi line db_query() calls.