After integrating #1870 various null checks for ids became redundant.
After integrating #1870 various null checks for ids became redundant.