Fix bug with children tabs