check the arity of #document_partial_name before calling the new 2-arg form
Merge pull request #835 from projectblacklight/arity-check

check the arity of #document_partial_name before calling the new 2-arg form