Fixed get endmost triplet method
refs #530