Fix for lookuptag returning valid tags for invalid ids