Fixes errors when opening Filters (issue #34)

Fix for issue #34