Fixed minor bug where invalid css was being accepted.