Fixing init_join_object_with_type to account for Product's type attribute containing to an object