RADAR-62 Fix maxPersistence through API

@samshull Set maxPersistence through API
https://zendesk.atlassian.net/browse/RADAR-62