Fixed switch from EF 6.1.0 to EF 6.1.1