EntityManager should now throw an exception if invalid eid/cid are passed into its methods.