Corrected Taorluath logic.