Fixed selecting relation class objects