Finally fixing that stupid bug with editing not working.