minor fix on query part of ValidJSONRPC
Changed logs