Use Index of Revision Instead of Id in Revision References

Done for both question and response revision comparisons.