That change likely masks issues with IRPStackSize, since servers, which are optimized for network throughput to begin with, can also suffer from this issue. Either way, knocking that error dead is the goal, and with that particular error, getting rid of it by any means necessary is usually my goal
So good for you that you found a fix that works for your setup.