Add fix for isFull method