Fix #2296 `get` works with `0` as a model id