We could probably condense this into one line since we only need that query once, but whatever.