Check for errors when dereferencing symbolic refs