Had the condition backward
Had the condition backward

When I changed from indexOf to includes to decide if I should remove the entry from database.sites, I got the condition backwards.  As a result, I wasn't deleting the entry when I should have and was deleting it when I shouldn't.

alanhkarp/SitePassword,alanhkarp/SitePassword