Minor change to contact query and contact adapter