aacsbr: change order of operation to prevent out of array read