Fixed the bug causing "Not in buddy list"

It was checking the buddy_list variable instead of the contacts variable