Scotland gave the home fans a boost by winning through to the quarter-finals of the Glasgow Sevens on Saturday.