Fix a ticks vs ml mismatch. Fixes #47