[BUGFIX] Avoid php warnings in Indexed Search Repository and Controlller