Fixes select schema peers query

Extends select schema peers query so it selects 'peer' field
and it can be used if rpc_address='0.0.0.0'