Check for `decorated?` before using `source` in #==

Closes #426