I believe you want to see if `db` has this `value`, not seeing if it has that key.