Fix for UNION queries, don't profile them.