COMPAT: Make findAndModify return an empty array when no match found.

The pecl extension for mongo returns an empty array when the find does
not match anything, not null.