fixed getRndOperator to return 4 if no operators are set in settings