Plan/DB: Corrected enum passed in onChange function.