Correctly verify if the listener is already in place.
Removed a log statement
Queries have to return results in order to trigger the changeEvent. Queries also have to reset their result in scope in order not to keep adding results.