explicitly casting $backups to array.