[Profiler] Prevent throwing fatal errors when searching timestamps or invalid dates