Null check for AnyPercentTemplate setting