Fixing the search method to collect all results and not only the last one.
Redirect endless following loop fixed.