Fixing deleting api keys