Validate is suggestions is undefined

this fix is for validate when the process result  doesn't have any suggestions and don't show an error in the browser console.