Fixed hasValueForKey method: Always returned NO as long as key was != null