fix capturing and matching of mdb error codes in macros
fix capturing and matching of mdb error codes in macros

rsertelon/habitat,rsertelon/habitat,georgemarshall/habitat,georgemarshall/habitat,nathenharvey/habitat,rsertelon/habitat,habitat-sh/habitat,nathenharvey/habitat,habitat-sh/habitat,georgemarshall/habitat,habitat-sh/habitat,habitat-sh/habitat,nathenharvey/habitat,habitat-sh/habitat,habitat-sh/habitat,georgemarshall/habitat,georgemarshall/habitat,georgemarshall/habitat,habitat-sh/habitat,georgemarshall/habitat,habitat-sh/habitat,nathenharvey/habitat,rsertelon/habitat,georgemarshall/habitat,rsertelon/habitat,rsertelon/habitat,nathenharvey/habitat,rsertelon/habitat,nathenharvey/habitat