[PATCH 2/3] dmime: Fix index handling in segment GetParam()