Fix exception caused by get_entry/entries not finding any results