MULE-7797: ArrayIndexOutOfBoundsException when mixing the order of in/out parameters in DB module.