* Fixed Name queries
* Fixed realm queries

Signed-off-by: Sovak <Sovak007@gmail.com>