Handle empty results from rest server