Fix getOreIDs for stacks not using the wildcard meta