Fixed Logger for INSERT queries


For some unknown reasons $params passed to Logger on INSERT queries are 1-indexed unlike for everything else it's 0-indexed.