Removed a bug in StandardModel::setFlag().