fix bug with registry remove routine where deleting key from entries was changed to be conditional to there being db and db.saved