Fixed PHP-712: findAndModify returns empty array when nothing is found.
Merged pull request #482