Refs #3809 - Remove useless assignments
Fixes #8405 - Filter :interfaces_attributes when calculating templates_used