Transaction coverage fix for doDeleteArticleReal

* Do the FOR UPDATE select to get the ID *after* BEGIN, otherwise the
  locks will disappear right afterwards with the implicit commit.

Change-Id: Ia531126cb4a86ec7789ceb7327d1c235c7aa979c
Merge "Transaction coverage fix for doDeleteArticleReal"