Get the array to use "delete_if" method