Fixed small bug when editing deals