fix issue with parsing filter string