Use == instead of === when comparing a module's id to the layer's module id since sometimes we're comparing strings to ints