Fixed wrong classnames, closes #864.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | --
| Fixed tickets | #864
| License       | MIT
| Doc PR        | --

@phaidon Could you please check if that solves your problem? I did the changes "blind" because of #822.