listing: odd/even class should happen after keep_fn.

Fixes #609