Have a look at this issue I raised few days back. Your issue seems similar. Although its not resolved but I try & get through the situation by fetching all the elements in a list & looping through each one to find out which one is visible/enabled & then act on that particular element.