added check to ensure that lhs of assignment works for tree binop dereference and not other binops