Rerranged SQLQueryQueue method to add query with rowclass so that rowclass wasn't after the block, which was annoying.