Fix extremely annoying delete behaviour.