Fix issue where files not found if a * type is defined.