BUG: GH3311 Dataframe where with a datetimelike was not correctly selecting

closes #3311