Removed empty array element from plan array.