Thanks AHHans,
I haven't had time to test it yet, but your explanation makes sense. On this type of contract I fly the tourists until the craft leaves Kerbin SOI, then immediately target Kerbin and burn towards the target until I get an close encounter. I'm certain the solar orbit intersects Kerbin SOI, so I don't get the orbit around the sun contract condition.