Possible Bug with Aggregation Query Builder - Duplicate Data Set Filter

Hi developers,

I think I might have picked up a possible bug with the Aggregation Query Builder. Duplicate data sets show up in the “Filter by data set” field. Not sure what the impact will be on operation but I have had a few issues with rogue numbers showing up in my pivot tables. Unfortunately, I cannot replicate this but I thought it was still worth bringing it to your attention.

The files attached provide screenshots of the problem.

I am using DHIS2.12 build 11298.