Smarter states heads. We use the next relevant heads instead of repo one when asking for the head of a disabled state.
Pierre-Yves David