fixed a strong typo which caused the returning of a wrong contact ID
added issetContactTag()