Fixed empty DB calls.