Fixed a bug where task hash was different when a task had several parameters