Changed contacts contract query