We don't want to return without setting taglist=NULL if asserts are on and with setting taglist=NULL otherwise.