Fixed conditional check on role step image