Fixed a bug where we did not insert the right project id + converting timestamps to integers