Fixed first_seen bug