Selection in Type filter results in wrong filter type in query. Closes #69