restrictions are now not case sensitive + fix bug not being able to delete last character of restriction title