Use edd-api value to determine query mode. #857