Fix broken search with AppInfo.average_mark = NULL