Fix for inspiration and group buffs

Fix for inspiration and group buffs, they used distance check with
different coordinate systems. Now watching and inspiration buff is
possible.
fix for not being able to reuse or delete char

Fix for not being able to reuse or delete char after creation. All chars
were only available once as the query to the result set used wrong field
name to get the char id.