Correct rtree trigger creation