Checking for empty RKE when computing cycles