Fixed a bug that would prevent a new album thumbnail being set on photo delete.