Edge case failure in import generation