Changed 'undefined' atom to binary <<"undefined">> as default if the database doesn't have external_storage configured.