Issue #8181 by tuj: Fixed some of the issues with filtering of the media page