Fixed crash, when style is empty

I had an issue with glam, cause one of my chrome plugins, added empty style to template.