Ok, dont want to sound dumb here, but how does that help?
for example here is say map 1 that gets passed to the inputmap function
Jeremy=1
Fred=2
Jeremy=3
the second map as you proposed would be the same.
Now, the result after I select Jeremy and Fred from the inputmap fuction
Jeremy=true, Fred=false, Jeremy=true
I suspect you idea is to now search the second proposed map for the contact id....but in this scenario, which Jeremy am I searching for? contact id 1 or 3?
Thanks, Jeremy