Changed elastic search filter to a hash as it seems to need..