Prevent to try and update the index on destroy for ActiveRecord