Hide subtasks in filter

I heavily use subtasks and the project and overview lists become cluttered with those subtasks. Often I just want to see only the parent tasks. Is there a way to filter only parent tasks?