It's due to a double submit. We need to refactor this static variable.

Related: http://platform.dandigbib.org/issues/372

Added ticket: http://platform.dandigbib.org/issues/394