Fixed schema not being set in connection constructor