Fixing reference to deleted credentials