Fixed error when checking if we need to sync on startup, Added a check for validity when submitting a playing state.