make the filters work with mako, too

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>