mongodb 2.6.x will have a freekin cow if we pass an empty $set or $unset. Only add those clauses if they are nonempty