Fix for https://github.com/CenterForOpenScience/openscienceframework.org/issues/785