Check for value before guessing possible data type