Fix for wrong FS_TYPE check