Fixes bug with dataqc localrangetest

Adds parameter checks so that if a None squeaks by then it just returns all -99s instead of raising an exception, which
caused really bizarre behavior in DM.