Simplify the check. 'currentValue' cannot be null at that point
Fixes #426 - Add special logic that decides whether to add a CSS class to a ListItem in #onConfigure()