Fix condition for deletion again.