fixing cif_apikey bug when deleting specific keys