Fix: undefined method `to_i' for ["10", "10"]

With Solr 4 and RSolr 1.0.9 the rows param is an array instead
of an integer value. If this param is an array then the first
value will be reutnred, otherwise it will be done like before.