Fixed some notices if admin object is invoked with an empty settings array.