Fix generating configuration if active active hasnt been enabled