Fix get parent task for getting which project it belongs to