Fix for error pertaining to global attr precedence.