fix deletion in display settings directive

Reviewer: Dan V.