Fixed bug with post persistence.