Fixed bug causing unability to import certain file formats