Something is odd in your end. I have copied your schema, run in my end. And tried your query. It just runs, no errors.