add condition on extent in simpletag validation