fixing validation problem in people sensor if no one is visible