Prevent NPE on search if no type is set on SpecElement