I've cobbled together a quick fix to automatically switch object - not all that elegant, but I'll have another look tomorrow.
I made a 3rd list 'hit list', a 1 in the list indicates which object is collided. This value becomes the selected var. If there's no hit (ie between objects), I hide the circle and feed dummy value of 0 to the vectors. This is to stop the circle staying where it last was, and to prevent yellow error condition. It's a bit of a hack. I think the correct way is try + exception, but I'll have to google that (or you could LOL).
press play on this file raymulti3.c4d
no guarantees, but no error messages in the console ...