This and all the other resolution cases would be more readable long term if we used good ol' max() instead IMO