Relay query in accessory view: bugfixes