Code

Merge pull request #647 from manuelluis/mlsr/threshold-missing_time