Bugfix to sorting options in instance view.