Add offset to query for relationships so pagination works in has_many view