Fixed 'bad-entry-paste' bug.