Fixed bug with Entity Framework deleting Foreign Keys when deleting