bugfix: crash exited immediately with an exception i a query result contained two or more equal field names