tweaked the filter to make sure clearing a task parent actually works as expected

Resolves: http://bugs.web2project.net/view.php?id=1564