Flake8: remove unused imports
Ensure time_frame filter can not be called

The only way to use it is to use ``-s`` and ``-d`` flags.