Fixes scan queue tasks index page.
Merge commit 'af578e71eb83bec69ad37784ff5464e3d150c6df' into HEAD