undefined bfe_primary_report_number function fix

bfe_primary_report_number doesn't exist in invenio code which causes an error