Fix LazyInitializationException when getting PropertyValue by name.