Fix IllegalArgumentException when achievement timestamp is Integer
(closes #3).