Fixed bug where removing last item in queue caused second to last remaining item to become selected (instead of last item).