Fix pickling error introduced in 2857d2c
Bump version to v4.2.24