Bug fix to addClass binding.