Fixed typo in submodel lookup process where primaryKey was spelled primarykey