Fixed typos and added checks to milestone ids when dealing with review or submission milestones.