Refs #13870; fixed issue where relatedItems div appeared wrongfully when autoRelations returned a generator with an empty list