Fixed already_mirrored variable, as it contained newlines, which was throwing off the comparison later.