Fix concurrent_get_or_create in the position discovery plugin