Fix out of bounds check in parameters resolved.