Core: Fix warnings
Core/Commands: Fixed wrong field types used in db queries for pinfo c..

…ommand and output alive state if target is offline
Missed change for previous commit
Core/Commands: Warning fix