Fix bug 1899 to select correct WIM connector class and prevent exceptions with missin...