Fix sync handling of sequence when obtained from query string and tie into Express routing.  Also some tweaks to the adapter collection handling.