Changed all db-facing code that had INTs to LONGs because it was being
grabbed from MySQL as a Long