Noticed wrong variable comparison when looking over code.