Fixed issue that created duplicate series

This was due to a race condition.