Fix typo: incorrect constant in callback.

Thanks to Moritz Warning.