Fixing BBOxQueryForm at on change layer and fixing max extent definition in feature manager