Fix filter key/value pair parsing to allow leading hash symbols