Fixing bug where some codes could not be validated.