check for attribute before attempting to delete from non cached object