bugfix: crash exited immediately with an exception i a query result cont...

...ained two or more equal field names