Fix getOreIDs for stacks not using the wildcard meta

Fixed a typo as well :3