updated to filter on stagenum string