It should check if it is a String. Fixed.