Don't attempt to iterate over empty result set
WIP