Fixing bug where prelayer delay was not used