Adds pending flag to submissions