Max should be required to be bigger [or equal?] than min, in order for most of the code to keep working as expected. Thus here check the upper bound only if the lower bound was not at fault.
Max should be required to be bigger [or equal?] than min, in order for most of the code to keep working as expected. Thus here check the upper bound only if the lower bound was not at fault.

ImpulseAdventure/GUIslice,ImpulseAdventure/GUIslice