Fix empty space left behind for hidden paths when they are filtered by
tags

Closes #265