Fix wrong subfilter building

Provide a patch for #118
fix missing sprintf
Merge pull request #119 from netzmacht/patch-3

Fix wrong subfilter building. Paranthesis were missing for AND and OR.