Bug fixes

Fixed a bug that prevented the import of certain apps