Fix mistaken removals
Flake8 fix