There is a race condition here. Any reason not to do an "update $inc" call instead ?