Fixes delete first post (#735)

*Duplicate of Pullrequest 745*

This one does not contain any other commits.