Update CollectionViewHelper.php

Add check for empty result.