changed queries in DiagnosisServer.py

Signed-off-by: marcomilanesio <milanesio.marco@gmail.com>