Fix cannot find post without id error on delete