Fixed bug with layers to css parser not adding and between conditions