Fixed segfault when reading and using old maskfiles with nocompute