Fix source query.