Bugfix

- Fixed a bug where the first planned action always was deleted instead
of the choosen one