Added some defensive checks incase schema metadata failed to be returns from db, attribute will be omitted