 exports.onNeutralize = (args) ->
 	beacon = Db.shared.ref 'game', 'beacons', args.beacon
 	neutralizer = beacon.peek('nextOwner')
-	inRangeOfTeam = getInrangePlayersOfTeamArray(args.beacon, nextOwner)
+	inRangeOfTeam = getInrangePlayersOfTeamArray(args.beacon, neutralizer)
 	log '[onNeutralize()] Team ', neutralizer, ' has neutralized beacon ', beacon.key(), ', players: '+inRangeOfTeam
 	beacon.set 'percentage', 0
 	beacon.set 'owner', -1

	if version < 3 # Change yellow color
		newVersion = 3
		initializeColors()

	# Write new version to the database
	if newVersion isnt version

			newStatus = beaconDistance < beaconRadius
			if newStatus != current
				# Cancel timers of ongoing caputes/neutralizes (new ones will be set below if required)
				Timer.cancel 'onCapture', {beacon: beacon.key()}
				Timer.cancel 'onNeutralize', {beacon: beacon.key()}
				removed = undefined;
				if newStatus
					if not device? # Deal with old clients by denying them to be added to inRange
