Fixed a bug with deleting not returning key and value when successful