Fixed active task error on edit pr