Minor cleanup
Closes OpenSourceFieldlinguistics/FieldDB#1006 Original error must have been due to dev; was unable to re-create; however, adding some assurance that activities are saved before databases can be switched, which should prevent the error in cases of failed/timed out post requests.