bug fix when searching by related field in patient tracing admin page