Configuration fixes

Some fixes in the configuration module, mostly about alerts.