#655428 by Dave Reid: Skip AJAX forms that do not provide $form['form_id'] or $form['build_form_id'].