Simplify two lines of code into one when deleting individual access