checks now if we should validate an ajaxItem. Fixes issue #1973