Changed handling of empty data passed to AA_loaddata.