Fixed title search result when no titles found, setting a default value. Also initializing titles array. These fixes also avoids to output not-found vars errors.