Fix issue with css guards not hiding inner classes