Fixing bug in phone number lookup