Fixed an error that made it impossible to assign central_id to minerals