Search template: Put source param into right variable

If a search template was created using the source parameter, the
content of the parameter was put as source instead of sourceTemplate

Fixes #5556