org-capture.el (org-capture): Fix bug introduced by commit 1737d3