Fix a null check

Previously it would evaluate the if statment starting with

`` if (!dl->interruptsEnabled) `` first and not the null check. This fixes that.