PAHMA-1085: further revisions to Restricted media query