Yeap problem is one I had and fixed. The issue is in the following line :
The filter expression ends in a ; so the code is expecting another extension. If you change the line to :
Then everything is fine. Not good that the default filters are faulty but hey it's an easy oversight.
So when creating filters ensure that the expression doesn't end in a semicolon.