Fix a bug with metadata and formula property in NHibernate