Added ability to select top or bottom of phase when not a wild card.