Fix post editing bug