Fixed duplicate recommendation bug