Fix memory leak when plotting sample logs using running+period filter.

If the combined filter ended up being invalid then the TimeSeriesProperty
was returning the size as a value in a vector that had been previously
cleared so it was returning whatever rubbish happened to be in memory.
Refs #7173
Merge remote-tracking branch 'origin/feature/7173_memory_leak_sample_logs'