ignore change type of fragment if it has child fragments