Further bugfixes with AqlItemBlock and AqlValue allocations.