replace split operation with two filter operations (bugfix)