EF pk change exception propagation fix