SONAR-5623 Fix bad resizing of the result list