Index: branches/BNC_2.12/src/upload/bncephuploadcaster.cpp
===================================================================
--- branches/BNC_2.12/src/upload/bncephuploadcaster.cpp	(revision 9413)
+++ branches/BNC_2.12/src/upload/bncephuploadcaster.cpp	(revision 9415)
@@ -82,29 +82,29 @@
 
 			if (ephGPS && ephGPS->type() == t_eph::GPS) {
-				if (dt > 14400.0 || dt < -7200.0) {
+				if (dt < 14400.0 || dt > -7200.0) {
 					size = t_ephEncoder::RTCM3(*ephGPS, Array);
 				}
 			} else if (ephGPS && ephGPS->type() == t_eph::QZSS) {
-				if (dt > 7200.0 || dt < -3600.0) {
+				if (dt < 7200.0 || dt > -3600.0) {
 					size = t_ephEncoder::RTCM3(*ephGPS, Array);
 				}
 			} else if (ephGlo) {
-				if (dt > 3900.0 || dt < -2100.0) {
+				if (dt > 3900.0 || dt > -2100.0) {
 					size = t_ephEncoder::RTCM3(*ephGlo, Array);
 				}
 			} else if (ephGal) {
-				if (dt > 14400.0 || dt < 0.0) {
+				if (dt < 14400.0 || dt > 0.0) {
 					size = t_ephEncoder::RTCM3(*ephGal, Array);
 				}
 			} else if (ephSBAS) {
-				if (dt > 600.0 || dt < -600.0) {
+				if (dt < 600.0 || dt > -600.0) {
 					size = t_ephEncoder::RTCM3(*ephSBAS, Array);
 				}
 			} else if (ephBDS) {
-				if (dt > 3900.0 || dt < 0.0) {
+				if (dt < 3900.0 || dt > 0.0) {
 					size = t_ephEncoder::RTCM3(*ephBDS, Array);
 				}
 			} else if (ephGPS && ephGPS->type() == t_eph::IRNSS) {
-				if (fabs(dt > 86400.0)) {
+				if (fabs(dt < 86400.0)) {
 					size = t_ephEncoder::RTCM3(*ephGPS, Array);
 				}
