Make filter global so it applies to all tools