Fix bug in checkDocumentPick of soc.views.helper.access module, which cause KeyError...