Fixed routing bug when updating course preferences

This should fix bug from issue #72