Fixed bug with hr_sector plugin