Callback with existing solutions if query has no patterns.