Issue #317 - Fix wrong class on closed key item.