I have this document: "a nice fox and an ugly fox"
Now i want it to match with this query MUST HAVE "a nice fox" AND MUST HAVE "an ugly fox". So i have the following query: https://codebeautify.org/jsonviewer/cbf77a45
But this doesn't match the document. The funny thing is, if the phrases doesn't "overlap" in words, meaning not containing any of the words which are in the other phrase, then it works.
F.x. this query, which works: https://codebeautify.org/jsonviewer/cb4ff8f4 (i removed "fox" from "an ugly fox".
What am i doing wrong?