Fix a 'value > VALUE_INFINITE' assert