Fixed now. Thanks!

(IIRC there was a similar issue in another channel. The typecasting should have happened in the config. class, but seemingly didn't. Thus it's probably best to carry explicit casts around.)