Fixed error on unWrap function

$owlWrapper and $userItems were undefined. Checking if they exist.