orm: Fix for the `contains` field filter