[#82259176] Better readability in get_past_variant

Story: https://www.pivotaltracker.com/story/show/82259176