Trouble making inverse query when implementing interface

@pawan or any other @core-devs can you advise?