Fix syntax
Just skip if we haven't documents