Improved logic for dueFrag initialisation