Fix purchase log clear download locks - expecting 'purchaselog_id' query but 'id' passed instead.
Merge pull request #1567 from benhuson/clear_download_locks

Fix purchase log clear download locks