QueryCoordinator will now honor the type of returned query first and then use what is in the query type for the Query property. Fixed #538
Fixes a null reference exception that should never have occured