Fix '.' when no prefix count was given.
Fix some cases where '.' didn't get the right repeat count.