Fixed small bug in edit form and dashboard.