0.0.14: Trigger query updated to use MAX()

* Benchmark shows speed improvement
* Simpler syntax