[FIX] check for undefined property (RT-2347)

it was undefined if user did not created any contacts yet