Correct handling of blank slice results on the CLI

When the API would return a result from a slice request, the result would be sorted accordingly.  The processing of the result should not be performed if the result is blank.  An error was being returned when the result was blank.

Fixes #220, #221 

To test this PR, each of the modified slice methods should be called for returns of results and no results.