Compare times with `#to_i`

`Time` is compared by fractional.
http://railsware.com/blog/2014/04/01/time-comparison-in-ruby/