Fix performance issue on "issues overview". From 4500 ms to 300ms.