Fix sporadically failing spec