Added check for report format when selecting ID