Fixed bug where diffs would throw a 500