LPS-49545 Changed filter validation to use a recursive parser