I am trying to filter a Dataframe using variable but it works fine when I use those same variables as constants. I have checked the type such that there is no type mismatch and