What on earth was the actual broadcast code doing in the query code? Moved it to the data sending function and realized that I actually have to specify a target for broadcasts. Don't ask me what I was thinking...