Fixed possible crash.
If the MinAmount minus the MaxAmount was 0 the server would crash.