Corrected detached EntityFramework object.