Fix intermittent failing spec