Looks like if datastore['COUNT'] == 1 you're also here, maybe:

```ruby
if datastore['COUNT'].nil? || datastore['COUNT'] < 2
```