Does solar flare activity lag behind sunspot activity?