Created by: stanleynguyen
Preventing overwriting by undefined first-layer key from the main options Resolves #1503