Fix notice undefined index for select advanced