Dude, that always happens, it's why they get in groups. Best way to avoid it is to bite the bullet, and offer to buy them all drinks, then quickly as the one you want how she and her beautiful friends are. That way she knows you want her, and the friends have been called beautiful and get a free drink.