db: session scopes are not allowed to be stacked

Signed-off-by: Manuel Traut <manut@linutronix.de>