Add support for user profiling ranges and clean up how provenance strings are handled in the profiler