Fix issue #492 - Undefined offset notice

Notice: Undefined offset: 2 in inc/wpseo-non-ajax-functions.php on line 506