Vanchi/fix set status api

@samshull This fixes the timeout error we saw on deploy. Also added some guards around maxPersistence policy being absent.