Fixed error when removing css rule that hasn't been created yet.