Fixed issue #1767 about partial update via HTTP PUT /document