$ENTRADA_USER->getID() returns a string, which was being identically compared to a sanitized int, which failed; the user was able to add themselves as a contact twice.