Fix tag case bug, make getTarget smarter about WSN_ ids
Fixed tag case errors