cleanup redundant valueflow check. if there are no values the getValue will return NULL.