Fixed delete-post for REPL