Trim modules that don't exist