Quick fix to value parsing - needed to compare numbers instead of
strings.