Extra check in parameter conversion

Add extra assertion to check expectations when applying parameter conversion.