Simplify ambiguous code

Remove if conditional in favor of boolean failover.