Improved duplicated imports inspection