Fixed failing test by removing deprecated return in before filter.