title: Not returning documents when using Firestore multiple date equalities in query
body: <p>So I'm struggling to get the following query to work:</p>
  <pre><code>firebaseFirestore.collection(&quot;kids&quot;)
              .document(documentID)
              .collection(&quot;books&quot;)
              .whereEqualTo(&quot;accountID&quot;, accountID)
              .whereEqualTo(&quot;checkoutDate&quot;, epochDate)
              .whereGreaterThanOrEqualTo(&quot;checkoutDate&quot;, firstDayThisWeekDate)
              .orderBy(&quot;checkoutDate&quot;)
              .orderBy(&quot;startTime&quot;, Query.Direction.ASCENDING)
              .orderBy(&quot;lengthOfTime&quot;, Query.Direction.DESCENDING);
  </code></pre>
  <p>epochDate is a date object set to 01/01/1970
  firstDayThisWeekDate is a date object that refers to the calendar date of the first day of this week (Sunday).</p>
  <p>If I only have one of the two checkoutDate equalities the query works.  But if I combine the two I get zero results.  What am I missing?</p>
  <p>This Works!</p>
  <pre><code>firebaseFirestore.collection(&quot;kids&quot;)
              .document(documentID)
              .collection(&quot;books&quot;)
              .whereEqualTo(&quot;accountID&quot;, accountID)
              .whereEqualTo(&quot;checkoutDate&quot;, epochDate)
              .orderBy(&quot;checkoutDate&quot;)
              .orderBy(&quot;startTime&quot;, Query.Direction.ASCENDING)
              .orderBy(&quot;lengthOfTime&quot;, Query.Direction.DESCENDING);
  </code></pre>
  <p>This Works!</p>
  <pre><code>firebaseFirestore.collection(&quot;kids&quot;)
              .document(documentID)
              .collection(&quot;books&quot;)
              .whereEqualTo(&quot;accountID&quot;, accountID)
              .whereGreaterThanOrEqualTo(&quot;checkoutDate&quot;, firstDayThisWeekDate)
              .orderBy(&quot;checkoutDate&quot;)
              .orderBy(&quot;startTime&quot;, Query.Direction.ASCENDING)
              .orderBy(&quot;lengthOfTime&quot;, Query.Direction.DESCENDING);
  </code></pre>
  <p>Here's the scenarios that I have for the books documents.
  If the field: &quot;repeats&quot; is true, the checkoutDate will ALWAYS be the epochDate
  If the field: &quot;repeats&quot; is false, then the dates will be something greater than the epochDate.</p>
  <p>My goal is to be able to grab the epochDate documents and any documents that have a date that is on or after the first day of this week.</p>
  <p>I'm trying hard to accomplish this within one query, and I think I can.  I just can't reconcile having the two date comparisons. It seems like the docs say you can.</p>
  <p>Any help would be greatly appreciated.</p>