Simplified filter functions

Signed-off-by: Lars Kiesow <lkiesow@uos.de>