DS-1890 correct scope logging of searches

logged scopeId and scopeType properly.