[BUGFIX] Prevent possible E_NOTICE by using isset() vs is_array()