Fix in removeMediaQueries function

removeMediaQueries() functions works incorrect - it removes only first media block