A terrible yet workable last-ditch solution for missing values. #4571. (PBS branch)

See #265, #271.