Added logic to handle movies similarity