Fix to handle opts[:prefetch_rows] having a nil value