Fixed PHP-712: findAndModify returns empty array when nothing is found.