Fix issue where max hours was not restricted to a single schedule period in position schedule edit.