Fixed a bug that could mess up order hierarchy when deleting tasks