[security-dev] relationship query not working