[qtcontacts-sqlite] Correct self-contact removal prevention

The previous check was non-functional.