Fixed production server check