Fixed an error in the Rosh check code, as noted by @Ensiform.