fix issue where 'None' was not calculating for blank allowed values
remove ugly version