Fix pasteSpecial command

Change-Id: I5f2960984c463ebdac02165fb97548349c1a9f5a
(cherry picked from commit 742e0fe2f5406d5fa966b96cc30f85d9671162e5)