Callback is also called when an error has occured. A deletion check is
performed before every action