BUS-83: Fix bug in sample association export.