handle no rows case for multi row selects