Try moving the period out of the conditional M2 variable and putting
it at the end of the sentence...and put the period after the
conditional M2 variable inside the conditional brackets (actually you
could leave that off as TMG will automatically add a period at the
end)...see below