Force post id and vote count to be integers