fixed transfer reason look-up by ensuring transfers reasons were integers rather than factors.