fixed a bug in the selection of the hear-rate zones