Fix bug crashing on 3 valid actions