Fixed off-by-one in bcf_get_format_values