Fix error on Add AR if Templates have no valid AS assigned