only render sources section when there are any
don't use internal class names in search parameters

pinging @FND for a short review