Allow models with ids of 0 to be cached