Added keepAllTags functionality to filter

TODO: Solve problem with passing