LPF assignment bugfix and inf/nan validation