Invalidates raw queries.