Check attributes being compared have string values allocated