Using isset() to prevent a Notice. Fixes #20.