now returns None on an empty result set