Handles cross referenced import/include so that it won't go infinite loop