Improved the filtering of trigrams the right PHP way - Issue #138