Add an attempt at backwards compatability for (broken) NMS plugins. Also set negative no entry values as these cannot occur.

cc @aadnk