TEMP: Search for tasks that *do* have children, as a step towards finding a way to search for tasks that *don't* have children
Use raw SQL to fetch parents with no children
Add back in the logic for only finding uncompleted tasks
Remove commented-out code