Minor additions to the gender doStaircase fix