Fixed erroneous max delay in diagnostic settings