fix(highlight): selected tab might be null
fix(highlight): selected tab might be null

fixes #12054

alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic