Modified parser so it accepts [] characters in filters