SONAR-4418 Refactor the bulk change redirection to fix bug when displaying resource from search box