Add check for whether the vocabulary requested is used for the relevant field/widget when performing AJAX vocabulary permission checks.