Fix some variables and methods related to the source type of a cached contact