lastObject should not raise exceptions on empty arrayControllers

It fix an error introduced in c97a01947ea05654121cc8211908375637e4a7ac