Fix session.get procedure with undefined keys attribute