Update to speed up Releases query

This index speeds up the Releases distinct query by 10% in my testing on mysql.  It does a multi-column index and is not tested on PostGres at this time.