Amending a previous fix due to new ERT code from bef.