Fixed a bug where subanalyses were not filtered correctly.