Bugfix - stop the last stanza being missed.