Fixed an Error with the AOCommand