fixed custom filter bug with arrays #9