Fixed query setting if there are no examples
Cleanup error message and broadcast it