Fix: Remove check for Ghost state

This fixed the just committed change handling non existent Ghost state.
Merge pull request #7350 from discordianfish/remove-ghost-state

Fix: Remove check for Ghost state