Fix hooking in filter too many times