bugfixes in string parsing for merging filters