Fix seconds validity check