Found the problem - needed to check for the right return value from
'validate_array_value'