Issue #2249723 by andrei.dincu: Change checking method in XmlSitemapForm::save()