Refactor recommendations index