fixing condition for unknown uid implying empty body.rows