Added getValueOr method to OptInt