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.
Merge pull request #1 from totaldis/master

Good spot, have applied your change.