Categoryedit.php getOptions method Optimized

Categoryedit.php getOptions method's query optimized by decomposing and removing group by and adding select distinct