[BUG] Work package description diff fails

Implements [ticket #1766](https://www.openproject.org/issues/1766)