Stop app crashing if deleting from a null list