Fix DB register assignment on fully qualified DB access

Signed-off-by: Michael Buesch <m@bues.ch>