I reworked the object created in the Select statement of both queries by specifying separate properties rather than the Instance property and it worked. Still it is strange that EF cannot map Instance object once it is an object from the database.