An innocent query that caused Zulip downtime

made by punchagan, submitted by Mai
An investigation into a small bug that caused a big problem.