Expects strings as inputs for filter