fix(parse): changed the functionCall method to parse filters

Added a condition to allow the parser to understand whether the parameter is a filter

Closes #4168