Added check for varbinary