Add case to task parent validation