Fixing `filter.update()` when dealing with numbers