make share/duplicate icon work (no 'undefined' for empty query)