Added check for computed values

Computed values cannot be assigned to and fail if iterated over in the
original function. Added check to see if property is computed.