check for correct custom filter (fixes #8)