Also protect jets against nan. Just in case.