Trapped vortices in multiply connected domains