Fixes bugs

Fixes bug when editing incident doc in administrative console.