Correct logic in operator icon class