Fixes bug where last mod would be null in certain API calls