Corrected CheckFilesystemType