When the cite template is right before a period, move it to right after the period