Browser::get_selected incorrectly returns true on failure