Fixed issue with parsing strings causing invalid errors due to case sensitivity