[#6226] Added missing indexes for project_id for purge script

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>