Fix Rails.version comparisons two more places