MULE-7797: ArrayIndexOutOfBoundsException when mixing the order of in/ou...

...t parameters in DB module.