ensure results are distinct, refs #832
fix for #823, thumbnail creation regression

adjust hacky URL replacement to account for workspace local url