Fixed offset test when sanitizing parameter.