Fix typecasting allowed aliases table (string/binary)