Fix NPE when looking up non-existent ID