Check isset before unset

Before accessing any index keys, it's recommended and strict to check if it is set.  PHP logs a notice when you do not.  This is to resolve PR #53.