Fixed some bugs and memory issues that could arise when loading filter subviews a lot