fix for multiple selects with same name

see previously committed unit test