Fix clear in AList when list is empty