Fixed bug with submission count