Found strtoupper() previously missed from code refactor, this fixes the issue where lowercase data input was not being validated correctly, input is thereofore now forced uppercase before being validated..