When parent tasks and their sub tasks are assigned to the same sprint the parent task houses all of the sub tasks and those same subtasks also appear as separate tasks even without the sub tasks filter being set to separate.
If a parent and it's children are assigned to a specific sprint they should only show up under the parent and not separately to clean up the list view and remove areas of potential confusion.