Fixed corruption of the allocations scope when bailing out early