BUG: Fixed bug where a time-series was being selected in preference to an actual column name

close #3594