Fixed creature and gameobject queries

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