Add option to prevent database query resolution on the profiler