Could not reorder a menu without that fix : if there was no parent_id (parent_id = 0), then parent_id was set to "" and could not be saved