Fix a bug that caused tasks to not consider itself