Stephanie Kurtzuba appears in this episode as Captain McNichols. She was a Sergeant just last season in Episode 18.
Before becoming a Captain in the NYPD, one must attain the rank of Lieutenant. Once that rank is achieved an officer must serve at least 2 years before being eligible to even take the Captain's exam. McNichols' change in rank is inconsistent with the show's timeline.