Fixes several bugs with the projects importer