Fixed many H2 bugs in SSO topics