Fixed issue where an unused import would not be properly removed if it was not a from import.