Added type conversion to meta column in case a type is specified (such as a foreign key or discriminator column).