Fix wrong after/before scenario.