Fixed bug in required configuration keys lazily