contacts - make quicksearch faster

Signed-off-by: Karel Kellner <karel@kellner.be>