Coerce task param to Integer