Fixing setting filters in handler