Fixed bug with nested media queries in conditionals