Fixed empty submission returning error.