[657623] Fix incorrect logic in value type parameter `is' check