Modified animation filter to workaround papyrus bug (Improper pass by reference implementation)