Fixed some issues with ordering iof releases from the database