delete name index on session (refs #3894)
compact param all query (refs #3894)
Merge pull request #801 from Eric-Brison/3.2-A3894

optimize for param all (fixes #3894)