Fix bug that broke post editing