Fix error in DatabaseConnection

Change-Id: I59a036012e120f0390141a1d294b7cf89a528f69