fix treating object as array - additional check added

Having an object $user and it's property $user->page not set but is requested from jade template leads to a situation when a compiled template tries to output $user['page'] and PHP exits with an error.