Fix error when using find with an empty array argument

When a empty array for a `find` (`Model::find(['conditions' => ['id IN (?)', []])`) was given, it would trigger an error: `array_fill(): Number of elements must be positive`.

This prevents that error and will result in a `ActiveRecord\DatabaseException` which can be handled properly.