Corrected an issue with the entity framework mapping.