clear-queue-non-current: Work around PostgreSQL query optimizer stupidity

Created by  Eelco Dolstra  on January 14, 2014
KEBKLMYZTP2Z5YLG5VKAX7URF72EJQNWN6JPCSCV2AZXBCCBKRTAC
Change contents