Fix crash on bad schema searching, bad user schema resolution