Remove trailing dots and not questionmarks.