yeah, this code was copied from older code in  lib/tasks/reindex.rb before that was our policy.  I will update both in a new PR