Making Next-Previous student buttons work

Need fix for Previous on Miriam as it breaks if you go Previous after
her.