Use filter inside has_child filter