Better safety checking for survey complete callback