Making modParams only work if the result is an array. This is for compatibility with previous behaviour.