[BUGFIX] Fix remove actions in database API