Fixed bug in core/in-dev-mode?.