Avoid using DB ignoreErrors() method

Change-Id: Ic1ad3582aa250f12730cf962a1dd53b180f87a3e