S-48823 Added warning about the order of middleware funcs