Changed contact id data type from int to long.