Adding support for 0 as a dbkey

Change-Id: Ic02e827c4d58133311d978cc4205dda0737b860a