Fixed a problem when the filter was longer than 127 chars