emgm: Fix minimum to work for natural numbers

The fallback value should be the maximum integer, not 0.