Fixed bug in report edit view
Tidied replicable