Fixed bug with selected indexes in the Edit Form