Corrected an issue with 3a1905a2bd4eb23247a0379e74dc66b31846a24c
Params was assumed to be an array, but it could be null