I think this if is superfluous, `where` will always return a AR:Relation and everything in Ruby except for `nil` and `false` is true. Calling `update_all` on an empty relation should be a noop (or generate a query that is a noop), so you can just do `Report.where(...).update_all(...)`