Fix for previousSibling not defined when pasting patch review
Merge pull request #241 from Cottser/fix-paste-bug

Fix for previousSibling not defined when pasting patch review