Added missing sanity checks openscholar/openscholar#3170