I see where I went wrong, I tried to make it so that if both mini and micro were enabled, micro would rely on the mini tech tree setting before attempting to make its own technologies (I was trying to force both on, or both off, to avoid handling the discrepancy)
The first part checked if mini machines was enabled and the mini tech tree setting was on, else it checked if the micro tech tree setting was on. Problem is, that setting doesn't exist if mini machines is enabled, thus causing the error. Just added another check to make sure mini machines was not enabled before checking the micro tech tree setting.
And of course, the final alternative, if none of the above is true, it attaches the new machines to the old technologies, as it used to. Should be fixed in v3.3.2