bcf_*hrec* functions: check for existing/multiple IDX keys