Task: Perform done and deleted operations only when necessary
Use uuid fields intead of ids where possible

IDs can get non-unique with completed tasks, which makes modifications
or deletions of particular completed tasks impossible.