Use uniform format for refnums in settles
Fix errors introduced by not testing