Fixed bug with selecting unit multiple times Fixes #30