Do not crash when only some inputs are available.