title: Multiple dictionaries/strings making it through if statements that shouldn't
body: <p>The title is a bit vague but I can't think of a way to properly describe my issue in such a short space.</p>
  
  <p>I have a Python (3.x) script that keeps track of reminders that users set for themselves.</p>
  
  <p>The data of the reminders is saved in dictionary entries that are then stored in a tuple (because PyMySQL pulls the data from the database as a tuple).</p>
  
  <p>When a reminder needs to be deleted, you need to create a new tuple without that dictionary because tuples are immutable. This means you use a for loop to go through the dictionaries and only import the ones that do not match the one that was deleted.</p>
  
  <p>This is where my problem comes in. I'll put the snippet of code below.</p>
  
  <pre><code>global tReminders
  tReminders2 = ()
  for dic in tReminders:
      if user_name != dic.get("user_name") and reminder_text != dic.get("reminder_text") and group_name != dic.get("group_name") and set_time != dic.get("set_time") and reminder_time != dic.get("reminder_time"):
          print("ADDING: " + str(dic))
          tReminders2 += (dic,)
      else:
          print("SKIPPING: " + str(dic))
  tReminders = tReminders2
  </code></pre>
  
  <p>For example, the initial tuple data is:</p>
  
  <pre><code>({'user_name': 'phil', 'reminder_text': 'test1', 'group_name': 'test', 'set_time': 1533074918, 'reminder_time': 1533074928}, {'user_name': 'phil', 'reminder_text': 'test2', 'group_name': 'test', 'set_time': 1533074920, 'reminder_time': 1533074930}, {'user_name': 'phil', 'reminder_text': 'test3', 'group_name': 'test', 'set_time': 1533074923, 'reminder_time': 1533074933})
  </code></pre>
  
  <p>As you can see, the for loop goes through the dictionaries in the outdated tuple and should be grabbing all the ones that do not match the deleted dictionary and storing them in the new tuple.</p>
  
  <p>This is not the case however. For some reason that I can't see (could be a simple error that I'm just blind to), it is skipping over ALL the dictionaries in the old tuple and leaving the new one empty.</p>
  
  <p>Any ideas?</p>