Check if excluded key exists before deletion