Fix to regression of namespace case

This fix was undone in this merge: https://github.com/bolt/bolt/commit/4be5b435edddbee9328f1bb8f9da8e8e38f9cef8