Fix for #3151

Removes the useless periods.