Fix boost_before for top_scoring

Change-Id: I64c08770aabc901d4ea06bcfe127ddbab417f684