Refactoring of case with no results.