Prevent non-integer years from appearing as ticks