Fixed detail view selector bug