Correct a bug associated with the filter for 2d data when loading a new file.