Fixed error in survey list code - refs BT#6759