Check that key exists in $_GET before trying to use it. (Gets rid of PHP error when log level is set to notice)