ActiveRecord::setOldAttribute() bugfix