can n_value_get_int handle NULL?