Fixed error when editing the post second time after changing it's type
Merge pull request #333 from open-craft/eugeny/discussion-backport

Fixed error when editing the post second time after changing it's type