Added a null check to model column code. It would throw a fatal error when getting a value from a flattened relation where one side wasn't complete.